﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace ufida.u9.ait.openapi
{
	/// <summary>
	/// 生产订单工序AITDTO DTO :REST自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Namespace = "ufida.u9.ait.openapi")]
	[Serializable]
	public partial class MOOperationAITDTOData  
	{
		/// <summary>
		/// Default Constructor
		/// </summary>
		public MOOperationAITDTOData()
		{
			initData();
		}
		private void initData()
		{
		
		
		
		
		
		
		
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
		internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
		{
			 initData();
		}
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.MOAITDTO != null) 
			{
				this.MOAITDTO.DoSerializeKeyList(dict);
			}
	        			if (this.WorkCenter != null) 
			{
				this.WorkCenter.DoSerializeKeyList(dict);
			}
	        			if (this.TimeUOM != null) 
			{
				this.TimeUOM.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        			if (this.StdOp != null) 
			{
				this.StdOp.DoSerializeKeyList(dict);
			}

		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public MOOperationAITDTOData(  ufida.u9.ait.openapi.MOAITDTOData mOAITDTO  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData workCenter  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData timeUOM  , System.String taskCode  , System.String planStartDate  , System.String planCompleteDate  , System.String operationNum  , System.String opDescription  , ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData stdOp  )
		{
			initData();
			this.MOAITDTO = mOAITDTO;
			this.WorkCenter = workCenter;
			this.TimeUOM = timeUOM;
			this.TaskCode = taskCode;
			this.PlanStartDate = planStartDate;
			this.PlanCompleteDate = planCompleteDate;
			this.OperationNum = operationNum;
			this.OpDescription = opDescription;
			this.StdOp = stdOp;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 生产订单AITDTO
		/// 生产订单工序AITDTO.Misc.生产订单AITDTO
		/// </summary>
		private ufida.u9.ait.openapi.MOAITDTOData m_mOAITDTO ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.MOAITDTOData MOAITDTO
		{
			get	
			{	
				return m_mOAITDTO ;
			}
			set	
			{	
				m_mOAITDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 工作中心
		/// 生产订单工序AITDTO.Misc.工作中心
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_workCenter ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData WorkCenter
		{
			get	
			{	
				return m_workCenter ;
			}
			set	
			{	
				m_workCenter = value ;	
			}
		}
			
		

		/// <summary>
		/// 时间单位
		/// 生产订单工序AITDTO.Misc.时间单位
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_timeUOM ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData TimeUOM
		{
			get	
			{	
				return m_timeUOM ;
			}
			set	
			{	
				m_timeUOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 作业代码
		/// 生产订单工序AITDTO.Misc.作业代码
		/// </summary>
		private System.String m_taskCode ;
		[DataMember(IsRequired=false)]
		public System.String TaskCode
		{
			get	
			{	
				return m_taskCode ;
			}
			set	
			{	
				m_taskCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划开始日期
		/// 生产订单工序AITDTO.Misc.计划开始日期
		/// </summary>
		private System.String m_planStartDate ;
		[DataMember(IsRequired=false)]
		public System.String PlanStartDate
		{
			get	
			{	
				return m_planStartDate ;
			}
			set	
			{	
				m_planStartDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 计划结束日期
		/// 生产订单工序AITDTO.Misc.计划结束日期
		/// </summary>
		private System.String m_planCompleteDate ;
		[DataMember(IsRequired=false)]
		public System.String PlanCompleteDate
		{
			get	
			{	
				return m_planCompleteDate ;
			}
			set	
			{	
				m_planCompleteDate = value ;	
			}
		}
			
		

		/// <summary>
		/// 工序号
		/// 生产订单工序AITDTO.Misc.工序号
		/// </summary>
		private System.String m_operationNum ;
		[DataMember(IsRequired=false)]
		public System.String OperationNum
		{
			get	
			{	
				return m_operationNum ;
			}
			set	
			{	
				m_operationNum = value ;	
			}
		}
			
		

		/// <summary>
		/// 工序说明
		/// 生产订单工序AITDTO.Misc.工序说明
		/// </summary>
		private System.String m_opDescription ;
		[DataMember(IsRequired=false)]
		public System.String OpDescription
		{
			get	
			{	
				return m_opDescription ;
			}
			set	
			{	
				m_opDescription = value ;	
			}
		}
			
		

		/// <summary>
		/// 作业
		/// 生产订单工序AITDTO.Misc.作业
		/// </summary>
		private ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData m_stdOp ;
		[DataMember(IsRequired=false)]
		public ufida.u9.ait.openapi.CopyOfCommonArchiveDataDTOData StdOp
		{
			get	
			{	
				return m_stdOp ;
			}
			set	
			{	
				m_stdOp = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																		
		#endregion 
	} 	
}
